package me.jollyfly.jshop.framework.aop

import java.lang.annotation.Documented
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy

/**
 * 环绕通知，记录日志注解

 * @author jollyfly
 */
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
annotation class LogRecord(val value: String, val writeToMongo: Boolean = false)
